package cn.stylefeng.guns.modular.scheduleInfo.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.scheduleInfo.entity.ScheduleAttendance;
import cn.stylefeng.guns.modular.scheduleInfo.model.params.ScheduleAttendanceParam;
import cn.stylefeng.guns.modular.scheduleInfo.model.result.ScheduleAttendanceResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 考勤 服务类
 * </p>
 *
 * @author wp
 * @since 2025-03-07
 */
public interface ScheduleAttendanceService extends IService<ScheduleAttendance> {

    /**
     * 新增
     *
     * @author wp
     * @Date 2025-03-07
     */
    void add(ScheduleAttendanceParam param);

    /**
     * 删除
     *
     * @author wp
     * @Date 2025-03-07
     */
    void delete(ScheduleAttendanceParam param);

    /**
     * 更新
     *
     * @author wp
     * @Date 2025-03-07
     */
    void update(ScheduleAttendanceParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wp
     * @Date 2025-03-07
     */
    ScheduleAttendanceResult findBySpec(ScheduleAttendanceParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wp
     * @Date 2025-03-07
     */
    List<ScheduleAttendanceResult> findListBySpec(ScheduleAttendanceParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wp
     * @Date 2025-03-07
     */
     LayuiPageInfo findPageBySpec(ScheduleAttendanceParam param,String condition);

}
